#!/bin/bash
dir_=$(cd `dirname $0`; pwd)
cd $dir_
# password=liukc00
# echo $password | sudo -S chmod 777 -R log/
# echo $password | sudo -S chmod 777 -R src/
# echo $password | sudo -S chmod 777 -R devel/
chmod 755 -R devel/
chmod 755 -R log/
chmod 755 -R src/
source devel/setup.bash

roslaunch start.launch path:=$dir_
wait
exit 0
